#ifndef SANGAME_HISTORY_INDICATOR_MESSAGE_H_
#define SANGAME_HISTORY_INDICATOR_MESSAGE_H_

namespace sangame {
namespace history {

struct Message {
    enum Type {
        MSG_INDICATOR_START = 4000,
		MSG_GOODSCHANGE = MSG_INDICATOR_START,
		MSG_INDICATORCHANGE,
		MSG_INITCONTEXT,
		MSG_SETMAINFLAG,
		MSG_GETMAINFLAG,
		MSG_SETSELECTFLAG,
		MSG_GETSELECTFLAG,
		MSG_LOADDATA,
		MSG_SYNCDATA,
		MSG_UPDATEAXES,
    };

};

struct GoodsChangeMessage {
	int goods;
	int period_type;
	int period_param;
};

struct ContextMessage {
    unsigned int type;
    unsigned int wparam;
    unsigned int lparam;
    unsigned int param1;
    unsigned int param2;
    unsigned int param3;
    unsigned int param4;
    unsigned int param5;
    std::string szparam1;
    std::string szparam2;
};

}
}

#endif // SANGAME_HISTORY_INDICATOR_MESSAGE_H_